package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.MReturnMaterial;
import com.zhongwang.mms.gen.entity.MReturnMaterialExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MReturnMaterialMapper {
    long countByExample(MReturnMaterialExample example);

    int deleteByExample(MReturnMaterialExample example);

    int deleteByPrimaryKey(Integer rtmId);

    int insert(MReturnMaterial record);

    int insertSelective(MReturnMaterial record);

    List<MReturnMaterial> selectByExample(MReturnMaterialExample example);

    MReturnMaterial selectByPrimaryKey(Integer rtmId);

    int updateByExampleSelective(@Param("record") MReturnMaterial record, @Param("example") MReturnMaterialExample example);

    int updateByExample(@Param("record") MReturnMaterial record, @Param("example") MReturnMaterialExample example);

    int updateByPrimaryKeySelective(MReturnMaterial record);

    int updateByPrimaryKey(MReturnMaterial record);
}